package org.liang.auth.mapper;

import org.liang.auth.domain.Role;
import org.liang.auth.dto.RoleDTO;
import org.liang.base.mapper.BaseMapper;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liang
 * @since 2024-01-17
 */
public interface RoleMapper extends BaseMapper<Role> {

    void roleAuth(RoleDTO roleDTO);

    void deleteByRoleId(Role role);

    List<Serializable> queryAuth(String id);
}
